from queue import Queue, Empty

queue = Queue()

try:
    queue.get(timeout=3)
except Empty:
    print("234")
